import request from '@/utils/request.js'

export function getUsersPage(params) {
    return request.get('/users/', {params});
}
export function getUsersById(id) {
    return request.get('/users/'+id);
}
export function createUsers(data) {
    return request.post('/users/create', data);
}
export function deleteUsersById(id) {
    return request.post('/users/delete/'+id);
}
export function updateUsers(data) {
    return request.post('/users/update', data);
}